]> dgit.raspbian.org Git - dovecot.git/commit
[PATCH] lib-sieve: sieve-storage - Fix panic caused by flawed detection of personal...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 4 Mar 2026 20:53:36 +0000 (21:53 +0100)
committerNoah Meyerhans <noahm@debian.org>
Wed, 16 Sep 2026 19:06:35 +0000 (15:06 -0400)
commitd56d1c4fe3357e09f6bac727472aa2f91ea8797b
tree9eef8b9ae09045a5b9c7d8bd26d2a751ac2087c3
parentc8a8236eebeea4c935490fd40ee1071d01093dcc
[PATCH] lib-sieve: sieve-storage - Fix panic caused by flawed detection of personal storage type

Recent commit d82c2e624e4a9c364a6fa58fad0938ae5578660c added the is_personal
flag, but it is assigned too late. Fix this issue by assigning this flag in the
earliest allocation function.

This issue commonly surfaces when people forget to set an appropriate type for a
script storage definition, in which case the "personal" type is the default.

Panic was:
Panic: file sieve-file-storage-active.c: line 33
(sieve_file_storage_active_read_link): assertion failed: (fstorage->active_path != NULL)

Gbp-Pq: Name 0001-lib-sieve-sieve-storage-Fix-panic-caused-by-flawed-d.patch
pigeonhole/src/lib-sieve/sieve-storage.c